
function allSigmoids (subjectList)



%qtyTrials=1000;%20;
sequenceSize=40;
%maleStart=22;%21;
%femaleStart=29;%30; 

allQtyTrials={1000; 300; 300; 300; 300};
allSubs={'laura1000'; 'veronica';'juan2'; 'nico'; 'blas'};

names=cell(1,length(subjectList));
%perf = cell(1,length(subjectList));
%xAxis = cell(1,length(subjectList));
for nam=1:length(subjectList)
    names{nam}= allSubs{subjectList(nam)}; 
    trials{nam}= allQtyTrials{subjectList(nam)};
end

nSub=length(names);
data=cell(1,nSub);
allLineColors={'r','b','m',  'c', 'y'};
allDotColors={'.r','.b','.m',  '.c', '.y'};


clf;
hold on
for sub=1:nSub
    [populatedWindows fracInPopulatedWindows fitFunction]= oldSigmoid(names{sub}, trials{sub});
    
    plot(fitFunction, allLineColors{sub}, populatedWindows,fracInPopulatedWindows,allDotColors{sub});%,'MarkerEdgeColor', allColors{sub},'MarkerSize',10);
    
%    plot(populatedWindows,fracInPopulatedWindows,'s','MarkerFaceColor', allColors{sub},'MarkerEdgeColor', allColors{sub},'MarkerSize',10);
%    plot(fitFunction,allColors{sub});%, allColors{sub});
   
end

%midLine=zeros(1,length(populatedWindows));
%midLine=midLine+0.5;
%plot(populatedWindows, midLine, ':k');
x=-6:6;
y=0*x+0.5;
plot(x,y,':k');


hold off

axisVector = [-6 6 0 1];
%title('Est??mulo HOMBRE, Respuesta MUJER');
xlabel('Virilidad Negativa'); ylabel('Fraccion Respuestas HOMBRE');
legend('off');
axis(axisVector);




end

